<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小金学英语专用播放器</title>
    <style>
        #flex_top {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 50px;
        }

        .myA {
            padding: 10px;
            display: block;
            width: 260px;
            text-align: left;
        }
    </style>
</head>

<body>
    <div id="flex_top">

    </div>
</body>
<script>
    function myFun() {
        var myDiv = document.getElementById('flex_top')
        var arr = ['02－Spare That Spider', '03－Matterhorn Man', '04－Seeing Hands', '05－Youth', '06－The Sporting Spirit','07－Bats','08－Trading Standards','09－Royal Espionage','10－Silicon Valley','11－How to Grow Old','12－Banks and Their Customers','13－The Search for Oil','14－The Butterfly Effect']
        arr.forEach(_ => {
            var a = document.createElement("a");
            myDiv.appendChild(a)
            a.setAttribute('href', './musicPage.html?src=' + _ + '&time=' + Date.now())
            a.className = 'myA'
            a.innerHTML = _
        })
    }
    myFun()
</script>

</html>